package com.tensquare.recruit.dao;

import com.tensquare.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * & ProjectName：  tensquare-parent
 * & PackageName:   com.tensquare.recruit.dao
 * & Creation_Date： 2020/3/31 00:05
 * & Author：しの
 * ----------------------------------
 * & Description:
 */
public interface EnterpriseDao extends JpaRepository<Enterprise, String>, JpaSpecificationExecutor<Enterprise> {
    //1 通过ishot查询
    List<Enterprise> findByIshot(String ishot);
}
